Skip to content

fix(forms): Refactoring migration logic to skip orphan elements messages, and improve default value handling for some question types #19474

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

ccailly
Copy link
Member

@ccailly ccailly commented Apr 16, 2025

Checklist before requesting a review

Please delete options that are not relevant.

  • I have read the CONTRIBUTING document.
  • I have performed a self-review of my code.
  • I have added tests that prove my fix is effective or that my feature works.

Description

Removal of “useless” warning messages.
Added error handling for question imports.
Fixed default value conversion methods for selectables and urgency questions.

@ccailly ccailly force-pushed the fix/forms-migration-skip-orphan-default-values branch from 5a15bd6 to 839332b Compare April 29, 2025 08:08
@ccailly ccailly self-assigned this Apr 29, 2025
@ccailly ccailly added this to the 11.0.0 milestone Apr 29, 2025
@ccailly ccailly force-pushed the fix/forms-migration-skip-orphan-default-values branch from 839332b to 500d763 Compare April 29, 2025 14:00
@cedric-anne cedric-anne force-pushed the fix/forms-migration-skip-orphan-default-values branch from 500d763 to 5180399 Compare April 29, 2025 19:59
@cedric-anne cedric-anne merged commit 64600ab into glpi-project:main Apr 29, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants